From: Stefan Monnier Date: Tue, 20 Jan 2004 21:18:31 +0000 (+0000) Subject: (Ffile_attributes): Lisp_Object/int mixup. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24440 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3c82ba438b5d3e76ac7dfd25b5be3de7c5d6359d;p=emacs.git (Ffile_attributes): Lisp_Object/int mixup. --- diff --git a/src/dired.c b/src/dired.c index 3bcd3051c25..f4102ff6edb 100644 --- a/src/dired.c +++ b/src/dired.c @@ -1,5 +1,5 @@ /* Lisp functions for making directory listings. - Copyright (C) 1985, 1986, 1993, 1994, 1999, 2000, 2001 + Copyright (C) 1985, 1986, 1993, 1994, 1999, 2000, 2001, 2004 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -941,9 +941,9 @@ Elements of the attribute list are: else { pw = (struct passwd *) getpwuid (s.st_uid); - values[2] = (pw ? build_string (pw->pw_name) : s.st_uid); + values[2] = (pw ? build_string (pw->pw_name) : make_number (s.st_uid)); gr = (struct group *) getgrgid (s.st_gid); - values[3] = (gr ? build_string (gr->gr_name) : s.st_gid); + values[3] = (gr ? build_string (gr->gr_name) : make_number (s.st_gid)); } values[4] = make_time (s.st_atime); values[5] = make_time (s.st_mtime);